<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>{config('system_title')} - {config('COPYRIGHT.COPYRIGHT_NAME')}</title>
    <meta name="keywords" content="{config('system_keywords')}"/>
    <meta name="description" content="{config('system_description')}" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="<?php echo PUBLIC_URL; ?>uikit/css/uikit.css" rel="stylesheet">
    <link href="<?php echo PUBLIC_URL; ?>system/css/style.css" rel="stylesheet">
    <script>
        var publicPath = '<?php echo PUBLIC_URL; ?>';
        var rootUrl = '<?php echo ROOT_SCRIPT; ?>';
    </script>
    <script src="<?php echo PUBLIC_URL; ?>system/js/pace.min.js"></script>
    <script src="<?php echo PUBLIC_URL; ?>system/js/do.js"></script>
    <script src="<?php echo PUBLIC_URL; ?>system/js/definition.js"></script>
</head>

<body>
    <div class="dux-head">
        <nav class="uk-navbar">
            <a href="<?php echo ROOT_URL; ?>" class="uk-navbar-brand">
                <img class="tm-logo" src="<?php echo PUBLIC_URL; ?>system/images/head-logo.svg" width="168" height="32">
            </a>
            <ul class="uk-navbar-nav uk-hidden-small menu-top">
                    <!--loop{$menuList as $key => $vo}-->
                    <!--if{$vo.cur}-->
                    <?php $cutMenuList = $vo['menu']; $cutMenuName = $vo['name']; ?>
                    <li class="uk-active">
                    <!--{else}-->
                    <li>
                    <!--{/if}-->
                        <a href="{$vo.url}" data-id="{$key}"><i class="uk-icon-{$vo.icon}"></i>{$vo.name}</a>
                    </li>
                    <!--{/loop}-->
            </ul>
            <div class="uk-navbar-flip head-tools">
                <ul class="uk-navbar-nav">
                    <li><a href="{url('system/SystemUser/userData',array('id'=>$loginUserInfo['user_id']))}"><i class="uk-icon-user"></i></a></li>
                    <li><a href="__ROOT__" target="_blank"><i class="uk-icon-home"></i></a></li>
                    <li><a href="{url('system/Login/logout')}"><i class="uk-icon-power-off"></i></a></li>
                </ul>
            </div>
        </nav>
    </div>
    <div class="dux-sidebar">
        <ul class="uk-nav sidevar-menu">
            <!--loop{(array)$cutMenuList as $list}-->
            <li class="uk-parent">
                <!--if{$list.cur}-->
                <a href="{$list.url}" class="uk-active">
                    <!--{else}-->
                    <a href="{$list.url}">
                    <!--{/if}-->
                    <i class="uk-icon-{$list.icon}"></i>{$list.name}</a>
                <!--if{$list.cur}-->
                <ul class="uk-nav-sub sidevar-list">
                <!--{else}-->
                <ul class="uk-nav-sub sidevar-list sidevar-hide">
                <!--{/if}-->
                    <div class="sidevar-head">{$list.name}</div>
                    <!--loop{$list.menu as $vo}-->
                    <!--if{$vo.cur}-->
                    <li class="uk-active">
                    <!--{else}-->
                    <li>
                    <!--{/if}-->
                    <a href="{$vo.url}"><i class="uk-icon-{$vo.icon}"></i>{$vo.name}</a></li>
                    <!--{/loop}-->
                </ul>
            </li>
            <!--{/loop}-->
        </ul>
    </div>
    <div class="dux-main">
        <div class="dux-tools uk-clearfix">
            <div class="uk-float-left">
                <div class="tools-name">{$infoModule.info.name} </div>
                <div class="tools-menu">
                    <!--loop{$infoModule.menu as $vo}-->
                    <!--if{($vo['url'] == $self) || ($vo['url'] == $url)  || (stristr($vo['url'],url()))}-->
                    <a href="{$vo.url}" class="uk-button uk-button-primary">
                        <!--{else}-->
                        <a href="{$vo.url}" class="uk-button">
                            <!--{/if}-->
                        {$vo.name}</a>
                        <!--{/loop}-->
                </div>
            </div>
            <div class="uk-float-right">

                <!--if{$infoModule['add']}-->
                <!--loop{$infoModule['add'] as $vo }-->
                <a class="uk-button uk-button-success" href="{$vo.url}">{$vo.name}</a>
                <!--{/loop}-->
                <!--{/if}-->
            </div>
            </span>
        </div>
        <div class="dux-page" id="js-page">
            {include file="$__template_file"}
        </div>
    </div>
</body>
<script>
    Do('uikit',function(){
    });
</script>

</html>